class CreateAdvertiseRules < ActiveRecord::Migration
  def change
    create_table :advertise_rules do |t|
      t.integer :advertise_group_id,:integer
      t.references :advertise_ruleable, :polymorphic => true
      t.timestamps
    end
  end
end
